package com.key.modules.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {

  private Integer id;

  private String name;

  private String location;

  @TableField("joinDate")
  private Date joinDate;

  private BigDecimal salary;

  @TableField("deptId")
  private Integer deptId;

}
